package api_task

import (
	"Sailor/app/Sailor-console-server/internal/service"
	"context"

	"Sailor/app/Sailor-console-server/api/api_task/v1"
)

func (c *ControllerV1) TaskDisable(ctx context.Context, req *v1.TaskDisableReq) (res *v1.TaskDisableRes, err error) {
	return service.Task().LogicTaskDisable(ctx, req)
}
